package cn.edu.cdut.dao;

import cn.edu.cdut.model.ResultInfo;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * Author  kobe
 * Created on 2017-05-29-17:37
 */
public interface ResultInfoDao extends CrudRepository<ResultInfo,Long>{
        ResultInfo findByStuId(String stuId);
        List<ResultInfo> findByGrade(String grade);
}
